package com.fresh.bus.canoe.message;

import com.fresh.bus.canoe.session.Role;

import java.util.Collection;

public class Response extends Message{
    private Collection<Role> recievers;
    /**
     * @return the recievers
     */
    public Collection<Role> getRecievers() {
        return recievers;
    }

    /**
     * @param recievers the recievers to set
     */
    public void setRecievers(Collection<Role> recievers) {
        this.recievers = recievers;
    }

    public Response()
    {
        super();
    }

    public Response(short opcode)
    {
        this();
        setOpcode(opcode);
    }

    @Override
    public String toString()
    {
        return "response [" + getOpcode() + "]";
    }
}
